package com.itheima.service;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Menu;
import com.itheima.pojo.Menu_User;

import java.util.List;

public interface MenuService {
    PageResult queryPage(QueryPageBean queryPageBean);

    List<Menu> findAll();

    Result insertMenu(Menu menu);

    List<Menu> findAllMenu();

    Menu findMenuById(Integer id);

    Result editMenu(Menu menu);

    Result deleteMenu(Integer id);

    List<Menu_User> findMenu_UserByUsername (String username);
}
